package org.stvd.repository.admin;

import java.util.Date;

import org.stvd.core.dto.QueryResult;
import org.stvd.entities.admin.Loginfo;
import org.stvd.repository.base.BaseDao;

public interface LoginfoDao extends BaseDao<Loginfo> {
    QueryResult<Loginfo> getLoginfoResult(int start, int limit, String user_id, String role_id, String log_type,
            String log_type2, Date beginDate, Date endDate, String dep_id);

    boolean Emptyloginfo(String user_id, String log_type, Date beginDate, Date endDate, String dep_id);

    QueryResult<Loginfo> getLoginfoResult(int start, int limit, String username, String log_type,
            String log_type2, Date beginDate, Date endDate);
}
